from kolko.pacs.models import Task
from sys import argv

def rejudge(task):
	for s in task.submission_set.all():
		s.compiled = None
		s.save()

if __name__=='__main__':
	rejudge(Task.objects.get(slug=argv[1]))
